
<h1>Roster of Players</h1>

<?php	
	//pr($players);
	
	echo "<table>";
	
	foreach($players as $player) :
	
		echo "<tr><td>";
		echo $player['Player']['firstname'];
		echo " \"";
		echo $player['Player']['nickname'];
		echo "\" ";
		echo $player['Player']['lastname'];
		echo "</td><td>";
		echo $this->Html->link('View', 
							array(
								'controller' => 'players', 
								'action' => 'main',
								$player['Player']['id']
								)
							);

		echo "</td></tr>";
	endforeach;
	
	echo "</table>";
	
?>